Release 10.1A: OpenEdge Development:
Progress 4GL Reference
FILE-NAME attribute
The name of the file associated with a handle. Returns the empty string for a Web service procedure.
Data type: CHARACTER Access: Readable/Writeable Applies to: COMPILER system handle, FILE-INFO system handle, RCODE-INFO system handle, THIS-PROCEDURE system handle (and all procedure handles)The FILE-NAME attribute of the COMPILER handle is the name of the source file from the preceding compilation. If no error occurred during the preceding compilation, FILE-NAME assumes the Unknown value (
?).The FILE-NAME attribute of the FILE-INFO or RCODE-INFO handle is the name of the file used by subsequent references to the handle. You can specify the filename with a
.p,.r, or no extension. If you set FILE-NAME to a relative pathname, Progress searches thePROPATHto find the file. Otherwise, Progress looks for the file specified by the absolute pathname.The FILE-NAME attribute of a procedure handle is the pathname of the procedure file that contains the procedure associated with the handle. If the procedure file is specified by the Startup Procedure (-p) parameter, the attribute contains the full pathname of the file. Otherwise, it contains the pathname exactly as specified in the RUN statement that invoked it. The procedure can be local or remote. For more information on remote procedures, see OpenEdge Application Server: Developing AppServer Applications .
The FILE-NAME attribute of the COMPILER handle and procedure handles is read only.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |